package com.javaclimb.service;

import com.javaclimb.pojo.User;
import com.javaclimb.utils.PageBean;

import java.util.List;

public interface UserService {

    User verifyPassword(String username, String password);

    User getByUsername(String username);

    int inserUser(User user);

    User selectUserOfId(String id);

    Boolean update(User user);

    PageBean page(Integer page, Integer pageSize, Integer userId, String username, Integer sex, Integer age);

    void delete(List<Integer> ids);

}
